package ltd.dujiabao.capability.domain.capmng.sync.modulespec;

import java.util.Collections;
import java.util.Map;

import org.springframework.stereotype.Component;

import ltd.dujiabao.capability.domain.capmng.sync.Transferor;

/**
 * @author : DuJiabao
 * @Project : ddd-capability
 * @Time : 2024/4/8 21:57
 * @Desc :
 */
@Component
public class VmsModuleSpecTransferor implements Transferor {
    @Override
    public Map<String, Object> transfer(Object original) {
        ModuleSpec moduleSpec = (ModuleSpec) original;
        return Collections.singletonMap("vms", moduleSpec);
    }
}
